import React from 'react';

import like from '../like.svg';
import './Tweet.css';

export const Tweet = () => {
    const { tweet } = this.props;
    return (
        <li className="">
            <strong>{tweet.author}</strong>
            <p>{tweet.content}</p>
            <button>
                <img src={like} alt="like" />
                {tweet.likes}
            </button>
        </li>
    )
}